import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'index',
      component: () => import('@/views/app-list.vue')
    },
    {
      path: '/apps',
      name: 'apps',
      component: () => import('@/views/app-list.vue')
    },
    {
      path: '/manage',
      name: 'manage',
      component: () => import('@/views/app-manage.vue')
    }
  ]
})

export default router
